<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>

  <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.7.14/vue.min.js"></script>
  <div class="app">
    <ul>
      <li v-for="item in arr" :key="item.id">{{item}} </li>
    </ul>
    <button @click="nuo">换顺序</button>
  </div>
  <script>
    const app = new Vue({
      el: '.app',
      data: {
        arr: ['龚哥', '翔哥', '亮哥'],
        arr2: []
      },
      methods: {
        nuo() {
          this.arr2.push(this.arr[0])
          this.arr.shift()
          this.arr.push(this.arr2[0])
          this.arr2 = []
        }
      }
    })
  </script>
</body>

</html>